Handheld electronic device and associated method enabling spell checking in a text disambiguation environment

ABSTRACT

An improved handheld electronic device and associated method enable spell checking in a reduced keyboard and disambiguation environment. The improved spell checking routine converts a misspelled word into a canonical version thereof and receives from a dictionary  42  proposed letter for possible acceptance by the spell checking routine. The spell checking routine advantageously maintains states of various spell check algorithms in order to ensure that no letter is accepted that would require an edit distance of more than one from the misspelled word. The improved spell checking routine advantageously reduces unnecessary processor operation by reducing the extent to which certain portions of the dictionary  42  are searched multiple times during a spell checking operation.

BACKGROUND

1. Field

The disclosed and claimed concept relates generally to handheldelectronic devices and, more particularly, to a handheld electronicdevice and method that enable spell checking in a text disambiguationenvironment.

2. Background Information

Numerous types of handheld electronic devices are known. Examples ofsuch handheld electronic devices include, for instance, personal dataassistants (PDAs), handheld computers, two-way pagers, cellulartelephones, and the like. Many handheld electronic devices also featurewireless communication capability, although many such handheldelectronic devices are stand-alone devices that are functional withoutcommunication with other devices.

Certain handheld electronic devices have been configured to have aplurality of characters, i.e., a plurality of Latin letters, assigned toeach key and have employed disambiguation software in one form oranother to disambiguate ambiguous text input. Such handheld electronicdevices have been referred to as having a “reduced” keyboard, and suchreduced keyboards and disambiguation software enable a handheldelectronic device to have a relatively form factor, i.e., to bephysically small. While such devices have been generally effective fortheir intended purposes, such devices have not, however, been withoutlimitation.

One limitation that exists with reduced keyboards and disambiguationsoftware is in the area of spell checking. Since most any keystroke on areduced keyboard can refer to any of a plurality of characters, anincorrectly typed word typically will be disambiguated by thedisambiguation software in a form quite different than what wasoriginally intended by the user. While efforts have been made to adaptcertain spell checking algorithms for use in a disambiguationenvironment, such efforts have had limited success due to the ambiguityinherent in text input on a reduced keyboard. Moreover, the adaptationof spell checking algorithms to handheld electronic devices has hadlimited success due to the large processing capacity that typically isconsumed by known spell checking algorithms and methodologies. It thuswould be desirable to provide an improved spell checking routine andhandheld electronic device that overcome these and other limitations.

BRIEF DESCRIPTION OF THE DRAWINGS

A full understanding of the disclosed and claimed concept can be gainedfrom the following Description when read in conjunction with theaccompanying drawings in which:

FIG. 1 is a top plan view of an improved handheld electronic device inaccordance with the disclosed and claimed concept;

FIG. 2 is a schematic depiction of the improved handheld electronicdevice of FIG. 1;

FIG. 3 is a schematic depiction of a data set generated with respect toa word that has been determined to be misspelled;

FIG. 4 is a chart that diagrams the changing of stored states during anexemplary spell checking process;

FIG. 5 is an exemplary flowchart depicting aspects of an improved methodin accordance with the disclosed and claimed concept;

FIG. 6 is an exemplary home screen that can be visually output on thehandheld electronic device of FIG. 1;

FIG. 7 depicts an exemplary menu that can be output on the handheldelectronic device of FIG. 1;

FIG. 8 depicts another exemplary menu;

FIG. 9 depicts an exemplary reduced menu;

FIG. 10 is an output such as could occur during another exemplary textentry or text editing operation;

FIG. 11 is an output during another exemplary text entry operation;

FIG. 12 is an alternative output during the exemplary text entryoperation of FIG. 11;

FIG. 13 is another output during another part of the exemplary textentry operation of FIG. 11;

FIG. 14 is an exemplary output during a data entry operation;

FIG. 15 is a top plan view of an improved handheld electronic device inaccordance with another embodiment of the disclosed and claimed concept;and

FIG. 16 is a schematic depiction of the improved handheld electronicdevice of FIG. 15.

Similar numerals refer to similar parts throughout the specification.

DESCRIPTION

An improved handheld electronic device 4 is indicated generally in FIG.1 and is depicted schematically in FIG. 2. The exemplary handheldelectronic device 4 includes a housing 6 upon which are disposed aninput apparatus 8, an output apparatus 12, and a processor apparatus 16.The input apparatus 8 is structured to provide input to the processorapparatus 16, and the output apparatus 12 is structured to receiveoutput signals from the processor apparatus 16. The output apparatus 12comprises a display 18 that is structured to provide visual output,although other output devices such as speakers, LEDs, tactile outputdevices, and so forth can be additionally or alternatively used.

As can be understood from FIG. 1, the input apparatus 8 includes akeypad 24 and a multiple-axis input device which, in the exemplaryembodiment depicted herein, is a track ball 32 that will be described ingreater detail below. The keypad 24 comprises a plurality of keys 28 inthe exemplary form of a reduced QWERTY keyboard, meaning that at leastsome of the keys 28 each have a plurality of linguistic elementsassigned thereto, with at least some of the linguistic elements beingLatin letters arranged generally in a QWERTY configuration. The keys 28and the track ball 32 all serve as input members that are actuatable toprovide input to the processor apparatus 16. The keypad 24 and the trackball 32 are advantageously disposed adjacent one another on a front faceof the housing 6. This enables a user to operate the track ball 32substantially without moving the user's hands away from the keypad 24during a text entry operation or other operation.

One of the keys 28 is an <ESCAPE> key 31 which, when actuated, providesto the processor apparatus 16 an input that undoes the action whichresulted from the immediately preceding input and/or moves the user to aposition logically higher within a logical menu tree managed by agraphical user interface (GUI) routine 46. The function provided by the<ESCAPE> key 31 can be used at any logical location within any portionof the logical menu tree except, perhaps, at a home screen such as isdepicted in FIG. 6. The <ESCAPE> key 31 is advantageously disposedadjacent the track ball 32 thereby enabling, for example, an unintendedor incorrect input from the track ball 32 to be quickly undone, i.e.,reversed, by an actuation of the adjacent <ESCAPE> key 31.

Another of the keys 28 is a <MENU> key 33 which, when actuated, providesto the processor apparatus 16 an input that causes the GUI 46 togenerate and output on the display 18 a menu such as is depicted in FIG.9, which will be discussed in greater detail below. Such a menu isappropriate to the user's current logical location within the logicalmenu tree, as will be likewise described in greater detail below.

While in the depicted exemplary embodiment the multiple-axis inputdevice is the track ball 32, it is noted that multiple-axis inputdevices other than the track ball 32 can be employed without departingfrom the present concept. For instance, other appropriate multiple-axisinput devices could include mechanical devices such as joysticks and thelike and/or non-mechanical devices such as touch pads, track pads andthe like and/or other devices which detect motion or input in otherfashions, such as through the use of optical sensors or piezoelectriccrystals.

The track ball 32 is freely rotatable in all directions with respect tothe housing 6. A rotation of the track ball 32 a predeterminedrotational distance with respect to the housing 6 provides an input tothe processor apparatus 16, and such inputs can be employed by a numberof routines, for example, as navigational inputs, scrolling inputs,selection inputs, and other inputs. As employed herein, the expression“a number of” and variations thereof shall refer broadly to any non-zeroquantity, including a quantity of one.

For instance, and as can be seen in FIG. 1, the track ball 32 isrotatable about a horizontal axis 34A to provide vertical scrolling,navigational, selection, or other inputs. Similarly, the track ball 32is rotatable about a vertical axis 34B to provide horizontal scrolling,navigational, selection, or other inputs. Since the track ball 32 isfreely rotatable with respect to the housing 6, the track ball 32 isadditionally rotatable about any other axis (not expressly depictedherein) that lies within the plane of the page of FIG. 1 or that extendsout of the plane of the page of FIG. 1.

The track ball 32 can be said to be a multiple-axis input device becauseit provides scrolling, navigational, selection, and other inputs in aplurality of directions or with respect to a plurality of axes, such asproviding inputs in both the vertical and the horizontal directions. Itis reiterated that the track ball 32 is merely one of many multiple-axisinput devices that could be employed on the handheld electronic device4. As such, mechanical alternatives to the track ball 32, such as ajoystick, might have a limited rotation with respect to the housing 6,and non-mechanical alternatives might be immovable with respect to thehousing 6, yet all are capable of providing input in a plurality ofdirections and/or along a plurality of axes.

The track ball 32 additionally is translatable toward the housing 6,i.e., into the plane of the page of FIG. 1, to provide additionalinputs. The track ball 32 could be translated in such a fashion by, forexample, a user applying an actuating force to the track ball 32 in adirection toward the housing 6, such as by pressing on the track ball32. The inputs that are provided to the processor apparatus 16 as aresult of a translation of the track ball 32 in the indicated fashioncan be employed by the routines, for example, as selection inputs,delimiter inputs, or other inputs.

As can be seen in FIG. 2, the processor apparatus 16 comprises aprocessor 36 and a memory 40. The processor 36 may be, for instance andwithout limitation, a microprocessor (μP) that is responsive to inputsfrom the input apparatus 8 and that provides output signals to theoutput apparatus 12. The processor 36 interfaces with the memory 40.

The memory 40 can be said to constitute a machine-readable medium andcan be any one or more of a variety of types of internal and/or externalstorage media such as, without limitation, RAM, ROM, EPROM(s),EEPROM(s), FLASH, and the like that provide a storage register for datastorage such as in the fashion of an internal storage area of acomputer, and can be volatile memory or nonvolatile memory. The memory40 has stored therein the aforementioned number of routines which areexecutable on the processor 36. The routines can be in any of a varietyof forms such as, without limitation, software, firmware, and the like.As will be explained in greater detail below, the routines include aspell checking routine 44, a disambiguation routine 45, and theaforementioned GUI 46, as well as other routines.

The memory 40 additionally has a dictionary 42 and a keyboard mappingtable 47 stored therein. The dictionary 42 has a plurality of wordsstored therein that can be accessed in one fashion or another by thedisambiguation routine 45 and the spell checking routine 44 for purposessuch as the disambiguation of ambiguous text input and theidentification of proposed spelling corrections in the event of amisspelled word. The dictionary 42 comprises a plurality of separatelyselectable dictionaries that are each tailored to a different specificlanguage. For instance, the dictionary 42 comprises an Englishdictionary and a French dictionary, and could include additional and/oralternative language dictionaries. The user can select between theEnglish dictionary and the French dictionary in any of a variety ofways, including as set forth below. At any given time, for example, theoperative language on the handheld electronic device 4 will be thelanguage of the currently selected dictionary, i.e., either English orFrench, meaning that the spell checking routine 44 and thedisambiguation routine 45 will seek data from the currently selecteddictionary in performing their functions. Responsive to a selection ofan alternate language dictionary, such as when the currently selecteddictionary is the English dictionary and the user selects the Frenchdictionary, the operative language on the handheld electronic device 4will be changed to the language of the alternate language dictionary,i.e., French, meaning that the spell checking routine 44 and thedisambiguation routine 45 will seek data from the alternate languagedictionary in performing their functions

The dictionary 42 can have any of a variety of data arrangements and isconfigured to perform callback operations that request data or providedata, for example, and that can be detected and responded to by thespell checking routine 44. In some situations, for instance, anddepending upon the data arrangement of the dictionary 42, the dictionarymight perform one or more callback operations asking the spell checkingroutine 44 to provide some suggestions as to which letters might bevalid as first, second, and/or third letters in a proposed spellingcorrection. In other situations, the dictionary 42 might performcallback operations asking the spell checking routine 44 whether or nota given letter would be an acceptable character at a particular positionwithin a possible spelling correction of a misspelled word.

In the exemplary embodiment described herein, the dictionary 42 has adata arrangement that comprises a plurality of data tables that areorganized according to the first two letters of the words that arestored therein. For instance, all of the words beginning with “ab” wouldbe stored in an “AB” table. In the event a table such as the “AB” tablehas two hundred fifty-six (256) or fewer words stored therein, the wordsare all stored in a “leaf node”. However, if more than two hundredfifty-six words begin with the same two letters, the data structure willinclude both internal nodes and leaf nodes. For example, “AB” might bean internal node, and “ABS” and “ABO” might be leaf nodes that dependfrom the “AB” node and would be the location where the words beginningwith “abs” and “abo,” respectively, are themselves stored. Moreover, theword “abolish,” for example, would actually be stored at the “ABO” nodeas “lish,” i.e., each word stored at a node is represented by only thoseletters of the word that are additional to the letters of the node. Aswill be explained in greater detail below, the spell checking routine 44also has a RECALL feature that relies upon the storage of a pointerwhich points to various nodes during the spell checking operation andthat can recall a previous state, i.e., a previous node, upon a spellchecking failure or other condition at a current node.

Since the words in the exemplary dictionary 42 are arranged in tablesaccording to the first two letters of the words, words typically cannotbe identified in the dictionary 42 until at least a first two charactersare identified. For example, the word “abide” cannot be identified untilthe “AB” table itself is identified, and thereafter the word “abide”would be represented by the terminal letters “ide”. Therefore, theexemplary dictionary 42 might be required to perform a number ofcallback operations requesting that the spell checking routine 44provide some guidance as to which word tables might reasonable beconsulted for proposed spelling corrections.

For example, the dictionary 42 might perform a first callback operationasking the spell checking routine 44 to provide a list of letters thatwould each be acceptable by the spell checking routine 44 as a firstletter in a proposed spelling correction. In response thereto, the spellchecking routine 44 might return to the dictionary 42 a list ofcharacters that would each be appropriate in a first position within apossible spelling correction for a misspelled word. The dictionary 42might then select a particular one of these returned letters, such asthe letter “A,” and perform a second callback operation asking the spellchecking routine 44 to accept the particular letter as a first letter.Since the particular letter had been brought to the attention of thedictionary 42 because it had been proposed by the spell checking routine44, the spell checking routine 44 would almost certainly accept theparticular letter, i.e., the letter “A,” as a first letter.

The dictionary might then perform a third callback operation asking thespell checking routine 44 to provide a list of letters that would eachbe acceptable as a second letter in a proposed spelling correction giventhat the spell checking routine 44 has already accepted the particularletter as a first letter. In response thereto, the spell checkingroutine 44 might return to the dictionary 42 a list of characters thatwould each be an appropriate second letter given the particular letteras a first letter. The dictionary 42 might then select a specific one ofthese returned second letters, such as the letter “B,” and would performa fourth callback operation to the spell checking routine 44 asking thespell checking routine 44 to accept the specific letter as a secondletter in a proposed spelling correction. Again, since the specificletter had been brought to the attention of the dictionary 42 because ithad been proposed by the spell checking routine 44 as a valid secondletter, the spell checking routine 44 would almost certainly accept theparticular letter, i.e., the letter “B,” as a second letter.

At this point, therefore, the dictionary 42 could use the particularletter and the specific letter, i.e., the letters “AB,” to identify aword table, i.e., the “AB” word table. Thereafter, words in theidentified word table can be provided on a letter-by-letter basis to thespell checking routine 44 for evaluation as possible spellingcorrections.

On the other hand, and in an alternative embodiment, the dictionarymight instead have a data arrangement similar to a convention book-typedictionary wherein the dictionary merely contains a list of words, withthe list starting with words that begin with A and ending with wordsthat begin with Z. Such an alternative dictionary likely would performno such callback operations requesting proposed first and second lettersfrom the spell checking routine 44. Rather, the dictionary likely wouldsimply begin with the first word in its list as a candidate spellingcorrection and would perform callback operations requesting that thespell checking operation accept each letter of the first word. If at anypoint the spell checking routine 44 would refuse to accept a letterproposed by the dictionary, the current candidate spelling correctionwould fail, and the dictionary would continue to the next word in thelist and so on through the end of its list. In such a situation,therefore, such a dictionary would not perform the aforementioned firstand third callback operations wherein the spell checking routine 44 wasrequested to identify valid first and second letters. However, the useof such a dictionary potentially could consume processor resource in aninefficient fashion.

The exemplary dictionary 42 and spell checking routine 44 advantageouslyare able to cooperate with one another independent of the specificconfigurations thereof. As will be set forth in greater detail below,the dictionary 42 performs callback operations sending to the spellchecking routine 44 proposed letters of candidate spelling corrections.The spell checking routine 44 responds to the dictionary 42 indicatingwhether or not such letters are accepted. Also, and as mentioned above,the dictionary 42 may at certain times perform callback operations thatrequest the spell checking routine 44 to provide lists of possible validcharacters, and in response the spell checking routine 44 would providesuch lists of possible valid characters. As such, a dictionary 42configured differently than that described above can be used inconjunction with the spell checking routine 44 so long as the dictionary42 is configured to perform callback operations that are cooperable withthe spell checking routine 44. Similarly, the spell checking routine 44can advantageously be configured in fashions other than described hereinso long as the spell checking routine 44 is capable of receivingcallback operations from a dictionary 42 and providing responsesthereto. In this regard, it is noted that the operation of the spellchecking routine 44 as described herein is merely one implementation ofthe disclosed and claimed concept, and it is therefore not intended tobe limiting of the disclosed and claimed concept.

The keyboard mapping table 47 comprises for each key 28 of the keypad 24the various characters that are assigned thereto. For example, the key28 to which the letters “U” and “I” are assigned would have assignedthereto these two Latin letters in all of their upper case, lower case,diacritical, and non-diacritical forms. The keyboard mapping table 47 isconsulted whenever a word is identified as being misspelled in order togenerate a data set 108 for the misspelled word and to thereby enableoperation of the spell checking routine 44, as will be described ingreater detail below.

Whenever the spell checking routine 44 is initiated with respect to aquantity of text, the spell checking routine checks each word todetermine whether or not it is found in the dictionary 42. If any wordcannot be found in the dictionary 42, the word is determined to bemisspelled, and the spell checking routine 44 operates seeking toidentify one or more proposed spelling corrections 106 that could beused to replace the misspelled word. A new word that is not alreadystored in the dictionary 42 might be identified by the spell checkingroutine 44 as being misspelled despite the new word actually beingcorrectly entered. That is, a determination by the spell checkingroutine 44 that a word is misspelled could be considered to be adetermination that the word is at least potentially misspelled butpotentially might be correctly spelled and new to the dictionary 42.

The spell checking routine 44 advantageously is configured to enable thecorrection of erroneous inputs, even those that have resulted inmisspellings that vary greatly from the intended input. Suchmisspellings can regularly occur with reduced keyboards such as thekeypad 24, although it is expressly noted that the spell checkingroutine 44 can advantageously be applied in conjunction with input froma full keyboard, as will be set forth in greater detail below. Withreduced keyboards, for example, the typing of certain words requires theinputting of a key sequence that includes two, three, or even foursequential actuations of the same key, such as in the way the typing ofthe word “there” using the keypad 24 would require three sequentialactuations of the key 28 <ER>. Oftentimes a user might actuate such akey 28 too few times or too many times. In either situation, and in theabsence of the spell checking routine 44, a proposed disambiguation ofthe input might be quite different from what was intended by the user.

For example, and as is set forth in FIG. 1, the display 18 has outputthereon the misspelled word “NAUSCUIT” as is indicated with thehighlight 104, and additionally has output thereon a proposed spellingcorrection 106 “BISCUIT” that was generated through operation of thespell checking routine 44. The exemplary misspelled word “NAUSCUIT” mayhave been the result of an attempt by a user to type “BISCUIT”, with theuser inadvertently typing an additional <AS> after typing <BN>. Forinstance, when the misspelled word was initially being typed thedisambiguation routine 45 might have proposed “NAU” as a proposeddisambiguation of the initial three keystrokes <BN> <AS> <UI> based uponthe first three letters of the word “nautical” in the dictionary 42.However, when the fourth keystroke <AS> was entered, the dictionary 42likely contained no word that corresponded with the keystroke sequence<BN> <AS> <UI> <AS>, and thus “NAU” was retained, and “S” for the fourthkeystroke was appended thereto, thus “NAUS”. The “S” might have beenselected for the fourth keystroke in favor of “A” for any of a varietyof reasons. For instance, in a situation wherein no word correspondswith an input, the disambiguation routine 45 might try to identify inthe memory 40 one or more strings of two or three letters each thatmatch a terminal two or three keystrokes of the input. By way ofexample, it might have been determined that the three character string“AUS” was stored in the memory 40 and was preferred to the string “AUA”that was similarly stored in the memory 40. Alternatively, it might havebeen determined that the three character string “AUS” was stored in thememory 40 but that no string “AUA” existed in the memory 40. Stillalternatively, it might have been determined that neither “AUS” nor“AUA” existed as stored strings in the memory 40, but that “US” and “UA”were found in the memory 40 and that “US” was preferred. Any suchsituation would have resulted in a preference of “S” as the fourthcharacter. Further keystrokes would have been interpreted in a similarfashion until the input was delimited, thus leaving the exemplarymisspelled word “NAUSCUIT” as the final result.

FIG. 1 depicts the spell checking routine 44 having already beeninitiated, either automatically or though some operation by the user,with the spell checking routine 44 having determined that the word“NAUSCUIT” was not found in the dictionary 42 and therefore wasmisspelled. Therefore, the spell checking routine 44 performedoperations such as those that will be described in greater detail belowin order to generate the proposed spelling correction 106 “BISCUIT”.

Upon the identification of a misspelled word, the spell checking routine44 generates the aforementioned data set 108 that can be seen in FIG. 3and that serves as a canonical version of the misspelled word. The dataset 108, i.e., the canonical version of the misspelled word, isgenerated by first reducing the misspelled word to its canonicalizedform by collapsing together any adjacent characters of the misspelledword that are assigned to the same key 28. In the present example, i.e.,in the misspelled word “NAUSCUIT”, the letters “U” and “I” that areadjacent one another are both assigned to the same key 28 and thus arecollapsed together as a single entry in the canonicalized form of themisspelled word. Specifically, the canonicalized form of the misspelledword “NAUSCUIT” can be represented by the string of seven data elements:<BN> <AS> <UI> <AS> <CV> <UI> <TY>. That is, the initial letter “N” in“NAUSCUIT” is represented by the single data element <BN> which, incanonicalized form, refers to any quantity of sequential actuations ofthe key 28 to which “B” and “N” are assigned. Similarly, the “U” and “I”that are adjacent one another in “NAUSCUIT” are collapsed into a singledata element <UI> that similarly can refer to any number of sequentialactuations of the key 28 to which “U” and “I” are assigned.

The canonical version, i.e., the data set 108, of the canonicalized form<BN> <AS> <UI> <AS> <CV> <UI> <TY> of the misspelled word “NAUSCUIT” iscreated by consulting the keyboard mapping table 47. In so doing, forany character 112 of the misspelled word, and more specifically for anyelement such as <BN> of the canonicalized form of the misspelled word,all of the characters 120 that are equivalent thereto are identified andare arranged in a character set 116. The various character sets 116together form the data set 108 of the misspelled word. In the presentexample, the data set 108 is in the exemplary form of a table, with eachcharacter set 116 being a virtual column in the data set 108 table. Forexample, the leftmost column, i.e., the first column, in the data set108 corresponds with the character 112 “N” of the misspelled word“NAUSCUIT” and, more specifically, with the element <BN> of thecanonicalized form of the misspelled word, and therefore includes acharacter set 116 that comprises as equivalent characters 120 theletters “b”, “B”, “n”, “N”, “ñ”, and “Ñ”, by way of example. That is,each of these characters 120 is considered to be equivalent to eachother such character 120 in the character set 116. Other charactersmight be assigned to the key 28 to which “B” and “N” are assigned, andsuch equivalent characters 120 would be comprised within the characterset 116 of the first column of the data set 108, although for the sakeof simplicity any such additional equivalent characters are notexpressly depicted in FIG. 3.

By way of further example, the third column of the data set 108 is thecharacter set 116 for the first instance of the letter “U” of themisspelled word “NAUSCUIT”. It is understood that many differentdiacritical forms of upper case and lower case versions of “I” and “U”are assigned to the same key 28. Such various diacritical forms of uppercase and lower case versions of the letters “I” and “U” would thereforebe comprised within the character set 116, although they are notexpressly depicted in FIG. 3 for purposes of simplicity.

Once a canonical version of a misspelled word in the form of a data set108 is generated, as is depicted in an exemplary form in FIG. 3, thespell checking routine 44 can interact with the dictionary 42 toidentify words stored in the dictionary 42 that can be output asproposed spelling corrections of the misspelled word. In the presentexample, the proposed spelling corrections that are identified forpossible output on the display 18 are limited to those determined tohave a canonical edit distance of at most one from the misspelled word.A canonical edit distance between a misspelled word and a proposedspelling correction is not necessarily the same as an actual editdistance between the misspelled word and the proposed spellingcorrection, and it is noted that the actual edit distance can be greaterthan the canonical edit distance.

When determining whether or not a candidate spelling correction iswithin a canonical edit distance of one of a misspelled word, incorrectnumbers of sequential actuations of the same key 28 and exchanges ofcharacters for equivalent characters are advantageously ignored. Suchincorrect numbers of sequential actuations of the same key 28 andexchanges of characters for equivalent characters likely would, however,contribute to the determination of an actual edit distance between amisspelled word and a proposed spelling correction. While in theexemplary embodiment described herein the proposed spelling correctionsare limited to words within a canonical edit distance of one from amisspelled word, it is understood that in other embodiments canonicaledit distances of greater than one can be employed without departingfrom the present concept.

The four conventional spell check algorithms INSERT, SWAP, REPLACE, andDELETE each contribute to the determination of the canonical editdistance between a misspelled word and a candidate spelling correction.The INSERT spell check algorithm operates essentially according to theprinciple that any character in the alphabet can be inserted in front ofany character in a misspelled word, or behind such a character in amisspelled word, and any single such insertion will constitute acanonical edit distance of one from the misspelled word. The SWAP spellcheck algorithm operates essentially according to the principle that anytwo adjacent characters in a misspelled word can be swapped with oneanother, and any single such swap constitutes a canonical edit distanceone from the misspelled word. The REPLACE spell check algorithm operatesessentially according to the principle that any given character in amisspelled word can be replaced with another character, and any singlesuch replacement will constitute a canonical edit distance of one fromthe misspelled word. The DELETE algorithm operates essentially accordingto the principle that any character in a misspelled word can be deleted,and any single such deletion constitutes a canonical edit distance ofone from the misspelled word. Thus, if the difference between amisspelled word and a candidate spelling correction is a single swap,the canonical edit distance between the misspelled word and thecandidate spelling correction is a canonical edit distance of one.However, if the difference between the misspelled word and the candidatespelling correction includes more than one instance of one of the spellcheck algorithms, or requires the application of more than one spellcheck algorithm, the misspelled word and the candidate spellingcorrection will be at a canonical edit distance of two or more.

It is reiterated, however, that proposed spelling corrections areidentified in the dictionary 42 based upon a comparison of a word in thedictionary 42 with a canonical version of the misspelled word, i.e., thedata set 108, which is a comparison based upon a canonical editdistance. Thus, operations such as insertions, swaps, replacements, anddeletions of characters that are considered to be equivalents of certainother characters and/or that could be resolved into a change in thenumber of sequential actuation of a given key will not contribute to thecanonical edit distance between the misspelled word and the candidatespelling correction, i.e., for purposes of determining whether thecanonical edit distance therebetween is no more than an edit distance ofone. The conversion of a misspelled word into a canonical versionthereof, such as with the data set 108, advantageously enables the spellchecking routine 44 to employ a canonical edit distance in identifyingproposed spelling corrections, rather than being limited to actual editdistances. The employing of the canonical edit distance thereforeovercomes many of the obstacles inherent in text entry on a reducedkeyboard by ignoring changes between characters that are equivalent toone another and by ignoring incorrect numbers of sequential actuationsof any given key 28.

The spell checking operation is described below as beginning with thedictionary 42 identifying a word stored therein as being a candidatespelling correction and performing a number of callback operations tothe spell checking routine 44. During such callback operations, theletters in the candidate spelling correction are sent on aletter-by-letter basis from the dictionary 42 and are received by thespell checking routine 44 for comparison with the data set 108 and forpossible acceptance of such letters. As mentioned above, however, anddepending upon the data structure employed, the dictionary 42 mayadditionally perform other callback operations that are required by thespecific data arrangement of the dictionary.

For example, and as likewise set forth above, the specific dataarrangement of the dictionary 42 requires that at certain times thedictionary 42 initially perform a number of callback operations whereinthe dictionary 42 requests that the spell checking routine 44 identifyone or more letters that would be acceptable at a first position and asecond position in a proposed spelling correction. In response to eachlist of letters from the spell checking routine 44, the dictionary 42would propose to the spell checking routine 44 one of these letters foracceptance as a first letter or as a second letter. It is uponacceptance of these first two letters by the spell checking algorithm 44that the dictionary 42 can identify a word table and can thereforeidentify words in the word table. That is, prior to identifying in thedictionary 42 any candidate spelling corrections, the dictionary 42 isin certain circumstances required to perform one or more callbackoperations asking the spell checking routine 44 to provide some initialdirection to the dictionary 42 by supplying the characters that could bevalid in a first position of a proposed spelling correction, a secondposition of a proposed spelling correction, and possibly a thirdposition of a proposed spelling correction, etc.

Such callback operations that might be performed by the dictionary 42are related to its specific data arrangement wherein words are stored intables according to the first two letters of the word. As mentionedabove, any data arrangement can be employed in the dictionary 42 so longas it is capable of proposing letters to the spell checking routine 44and receiving from the spell checking routine 44 indications of whetherthe letters are accepted or rejected. Since these callback operationssuch as the first and third callback operations mentioned above arespecific to the particular data arrangement of the dictionary 42, forthe sake of simplicity such callback operations are not exhaustivelydescribed hereinafter. That is, to the extent the dictionary 42 mightoccasionally request some initial guidance from the spell checkingroutine 44, such requests are not exhaustively identified or describedhereinafter, although they may nevertheless occur depending upon thearrangement of the word data in the dictionary 42. The same can be saidof other callback operations that might be performed by otherdictionaries based upon their specific data arrangements. As a generalmatter, therefore, the discussion hereinafter regarding the interactionsbetween the dictionary 42 and the spell checking routine 44 will largelyfocus on the proposal of letters by the dictionary 42 performed viacallback operation and the acceptance or rejection of such proposedletters by the spell checking routine 44, such as in the second andfourth callback operations mentioned above. That is, the discussionherein after will focus on the proposal of letters by the dictionary 42and will not exhaustively address whether any given letter might havebeen identified by the dictionary 42 based on its being initiallysuggested by the spell checking routine 44, or whether it was identifiedby the dictionary 42 based on its being a next consecutive letter of acandidate spelling correction.

By way of example, the dictionary 42 might, in one callback operation,requesting the spell checking routine 44 to accept a letter in a firstposition, such as the letter “A”. If the proposed letter “A” is alreadycontained within the character set 116 of the first column of the dataset 108, the letter “A” can be accepted by the spell checking routine 44as being at a canonical edit distance of zero from the misspelled word.

However, in the current example the letter “A” is not contained withinthe character set 116 associated with the character 112 “N” of themisspelled word “NAUSCUIT”. Rather, that character set 116 comprises theupper case, lower case, diacritical, and non-diacritical forms of “B”and “N”. As such, the INSERT, SWAP, REPLACE, and DELETE algorithms willneed to be consulted to determine whether or not the proposed letter “A”would be acceptable within a canonical edit distance of one as to eachof the algorithms.

For instance, according to the INSERT algorithm the letter “A” could beinserted in front of the letter “N” of the misspelled word “NAUSCUIT” ata canonical edit distance of one at this point from the misspelled word.Similarly, the SWAP algorithm could determine that “A” is the secondcharacter in the misspelled word “NAUSCUIT” and that a swap operationbetween the adjacent letters “N” and “A” would result in the letter “A”being a first character, and with such an operation being within acanonical edit distance of one at this point from the misspelled word.According to the REPLACE algorithm, the letter “N” could be replacedwith the “A” within a canonical edit distance of one from the misspelledword at this point. According to the DELETE algorithm, the letter “N”could be deleted, thereby leaving the letter “A” of “NAUSCUIT” as thefirst character of a proposed spelling correction within a canonicaledit distance of one at this point from the misspelled word.

Accordingly, all four of the aforementioned spell check algorithms wouldconsider the letter “A” to be a valid first character of a hypotheticalproposed spelling correction that would be within a canonical editdistance of one from the misspelled word “NAUSCUIT”. The letter “A”would therefore be accepted as a first letter by the spell checkingroutine 44. It is noted, however, that all four of the spell checkalgorithms are, upon the acceptance of “A” as a proposed firstcharacter, already at a canonical edit distance of one. As such, anyword that begins with the letter “A” that is proposed by the dictionary42 as a spelling correction will be invalid if it requires anyadditional operations of the four spell check algorithms. This isbecause the further operation of such spell check algorithms wouldincrease the canonical edit distance from the present value of one to avalue of two or more which, in the present exemplary embodiment, is aninvalid canonical edit distance. Accordingly, any word that begins with“A” and that is proposed by the dictionary 42 as a candidate spellingcorrection already varies, as at the letter “A”, from the misspelledword “NAUSCUIT” by a canonical edit distance of one, and thus any suchproposed spelling correction from the dictionary 42 would have tocorrespond with a remaining portion of the canonical version of themisspelled word “NAUSCUIT” without any additional uses of any of thefour spell check algorithms.

Each spell check algorithm employs different logic, such as thediffering logic used by each spell check algorithm in accepting theletter “A” above as a valid first character of a proposed spellingcorrection. Such differing logic must somehow be remembered by the spellchecking routine 44 in order to ensure that additional letters of acandidate spelling correction that are received from the dictionary 42conform with the logic of the various spell check algorithms and do notrequire further operations of any of the spell check algorithms. Forinstance, in the present example the SWAP spell check algorithm acceptedthe letter “A” as a first letter based upon an assumption that theletters “N” and “A” “NAUSCUIT” could be swapped with one another. Thismeans that the SWAP spell check algorithm accepted “A” as a first letterbased upon an assumption that “N” will be received from the dictionary42 as a proposed second letter. If the second letter proposed by thedictionary 42 is neither “N” nor an equivalent thereto, the assumptionof the SWAP spell check algorithm that served as the basis upon which itaccepted “A” as a first letter will not have been borne out, and theSWAP spell check algorithm will therefore fail as being invalid withrespect to the current candidate spelling correction.

In accordance with the disclosed and claimed concept, the spell checkingalgorithm 44 advantageously remembers the logic employed by the spellcheck algorithms by maintaining a state for each valid spell checkalgorithm. That is, with the acceptance of each letter from thedictionary 42, the spell checking routine 44 maintains and stores astate value for each valid spell check algorithm. If a letter proposedby the dictionary 42 causes a spell check algorithm to become invalid,that spell check algorithm is ignored until the next candidate spellingcorrection is identified by the dictionary 42, at which point the spellcheck algorithms will all be reset and the dictionary 42 will beginproposing the letters of such next candidate spelling correction forpossible acceptance by the spell checking routine 44.

FIG. 4 depicts several examples of the stored and changing states of thevarious spell check algorithms when seeking to identify proposedspelling corrections for the misspelled word “NAUSCUIT”. In one example,the dictionary 42 has identified as a candidate spelling correction 122the word “ABSCESS” and will sequentially send to the spell checkingroutine 44 the letters in the word “ABSCESS” for acceptance by the spellchecking routine 44. As suggested above, the dictionary 42 may have alsoperformed operations such as the aforementioned first and third callbackoperations to the spell checking routine 44 in order to receive from thespell checking routine 44 the letters “A” and “B” as valid first andsecond letters, which would enable the dictionary 42 to identify its“AB” word table and would thereby enable the identification by thedictionary 42 of “ABSCESS” as a candidate spelling correction.

As a general matter, if the spell checking routine 44 accepts all of theletters of a candidate spelling correction 122 from the dictionary 42and both the candidate spelling correction 122 and the data set 108 areat their ends, i.e., each at their terminal character or position, thecandidate spelling correction 122 is sent to an output file for possibleoutputting as a proposed spelling correction 106. However, if any letteris rejected, the candidate spelling correction 122 fails, i.e., it isrejected by the spell checking routine 44, and the dictionary 42 willthereafter typically identify another candidate spelling correction andwill begin sending its letters to the spell checking routine 44 forpossible acceptance.

Each state can be said to represent or can be said to point to acharacter set 116 that must contain an equivalent of an incoming letterfrom the dictionary 42 in order for the incoming letter to be acceptedand for the state to remain valid. FIG. 4 depicts the various states ofthe spell checking routine 44 at the time each letter is proposed by thedictionary 42 and also at the time the letter is accepted or rejected bythe spell checking routine 44.

It is noted that for the sake of clarity the headings of the columns ofthe data set 108 in FIG. 4 are depicted as being the characters 112 of“NAUSCUIT,” but it is also noted that these depicted characters 112 areintended to refer to the canonicalized form of the misspelled word“NAUSCUIT”. These column headings could therefore be more preciselyreferred to as being the data elements <BN>, <AS>, <UI>, <AS>, <CV>,<UI>, and <TY>, each of which is associated with its own character set116. However, in order to simplify the presentation of the conceptherein, the analysis is described in terms of correcting the spelling of“NAUSCUIT”, and therefore the column headings are depicted as being thecharacters 112 of the misspelled word, and the character sets 116 aredescribed as being associated with the characters 112 of the misspelledword.

At the time the letter “A” is being proposed, the spell checking routine44 will have already stored a zero edit distance state 124 that refersto a canonical edit distance of zero and that is pointing to thecharacter set 116 associated with the character 112 “N” of themisspelled word “NAUSCUIT”. That is, prior to the acceptance of anyletters, the zero edit distance state 124 points to the character set116 of the first column, which signifies that if the first letterreceived from the dictionary 42 is contained somewhere within thecharacter set 116 of the first column, the first letter received fromthe dictionary 42 can be accepted by the spell checking routine 44 whilestill maintaining a canonical edit distance of zero at this point fromthe misspelled word “NAUSCUIT”. In the current example, however, thefirst letter that is being proposed by the dictionary 42 is the letter“A,” which also happens to be the first letter of the exemplarycandidate spelling correction 122 “ABSCESS”. Since the character set 116of the first column comprises upper case, lower case, diacritical, andnon-diacritical forms of the letters “B” and “N” and does not compriseand form of the letter “A”, the letter “A” cannot be accepted by thespell checking routine 44 as a first character while still maintaining acanonical edit distance of zero from the misspelled word “NAUSCUIT”. Onthe other hand, and as set forth above, the spell check algorithmsINSERT, SWAP, REPLACE, and DELETE can accept “A” as a first character ofa proposed spelling correction for the misspelled “NAUSCUIT”, but inorder to do so all four of the spell check algorithms will then be at acanonical edit distance of one.

As can be seen in FIG. 4, therefore, upon acceptance of the letter “A”of “ABSCESS,” the zero edit distance state 124 has failed, but an INSERTalgorithm state 128 and a SWAP algorithm state 132 are indicated aspointing to the character set 116 associated with the character 112 “N”of the data set 108, a REPLACE algorithm state 136 is indicated aspointing to the character set 116 associated with the character 112 “A”of the data set 108, and a DELETE algorithm state 140 is indicated aspointing at the character set 116 associated with the character 112 “U”of the data set 108. Upon acceptance of the letter “A”, therefore, allfour of the spell check algorithms remain viable, but each is already ata canonical edit distance of one from the misspelled word “NAUSCUIT”.

The states 128, 132, 136, and 140 are stored by the spell checkingroutine 44 in order to determine whether future letters that will beproposed by the dictionary 42 can be accepted by the spell checkingroutine 44 as to at least one of the spell check algorithms withoutrequiring an additional canonical edit distance. The states 128, 132,136, and 140 are indicative of the fact that the four spell checkalgorithms are each already at a canonical edit distance of one, and anyfuture letters that are proposed by the dictionary 42 cannot be acceptedif they would require an additional canonical edit distance since it isdesired to identify only those candidate spelling corrections having atmost a canonical edit distance of one from the misspelled word.

As a general matter, the states 128, 132, 136, and 140 can be said torefer to the character sets 116 within which the next letter receivedfrom the dictionary 42 must be found in order to avoid having a spellcheck algorithm fail and thus be removed from further consideration,i.e., disregarded or ignored, by the spell checking routine 44. That is,each spell check algorithm that is viable, i.e., has not yet failed, hasassociated therewith a stored state that points to one of the charactersets 116, and if the next letter proposed by the dictionary 42 cannot befound in that character set 116 the spell check algorithm fails. If allof the spell check algorithms fail, the candidate spelling correctionthat is being considered fails, and the dictionary 42 finds anothercandidate spelling correction and begins to send its letters forpossible acceptance by the spell checking routine 44.

Returning to FIG. 4, it can be seen that upon acceptance by the spellchecking routine 44 of the letter “A”, the dictionary 42 proposes theletter “B” as a second letter in a proposed spelling correction forpossible acceptance by the spell checking routine 44. It can also beseen from FIG. 4 that the various states 128, 132, 136, and 140 have notchanged between acceptance of the letter “A” and the proposal of thesecond letter “B”. As such, at the time the letter “B” is proposed, itcan be accepted by the INSERT algorithm and the SWAP algorithm if theletter “B” is found in the character set 116 associated with thecharacter 112 “N” of the data set 108. Since the proposed letter “B” isfound in this character set 116, the proposed letter “B” is accepted bythe spell checking routine 44 as to the INSERT algorithm and the SWAPalgorithm, and the INSERT algorithm state 128 and the SWAP algorithmstate 132 are changed. That is, upon acceptance of the letter “B,” theINSERT algorithm state 128 is shifted one position to point to thecharacter set 116 associated with the character 112 “A” of the data set108. On the other hand, the SWAP algorithm state 132 is shifted twopositions to point to the character set 116 associated with thecharacter 112 “U” of the data set 108.

This disparate shifting is the logical result of the principlesunderpinning the INSERT algorithm and the SWAP algorithm. For example,the INSERT algorithm accepted the letter “A” on the basis of it beinghypothetically inserted in front of the letter “N” as a first characterin a proposed spelling correction, and the INSERT algorithm furtheraccepted the letter “B” as a second character since it was found in thecharacter set 116 for the character 112 “N”, i.e., the letter “B” wasessentially determined to be equivalent to the character 112 “N” of themisspelled word “NAUSCUIT”. As such, and having accepted the letters“AB” as the first two characters of a proposed spelling correction, theINSERT algorithm can remain valid, i.e., within a canonical editdistance of one from the misspelled word “NAUSCUIT,” only if the thirdletter that is received from the dictionary 42 can be found in thecharacter set 116 that is associated with the character 112 of the dataset 108 that immediately follows the character 112 “N”, i.e., thecharacter 112 “A”. Similarly, the SWAP algorithm accepted the letter “A”as a first character of a proposed spelling correction on the basis thatit was swapped with the character 112 “N” of the data set 108, and itaccepted the letter “B” as a second character of a proposed spellingcorrection on the basis of it being equivalent to the swapped character112 “N”. In order for the SWAP algorithm to remain valid, therefore, thethird letter received from the dictionary 42 must be found in thecharacter set 116 associated with the third character 112 in the dataset 108, i.e., the character 112 “U”.

Accordingly, if the third letter received from the dictionary 42 isanything but the letter “A” or a character equivalent thereto, theINSERT algorithm will fail as requiring an invalid canonical editdistance of at least two from the misspelled word “NAUSCUIT”, whichwould make the candidate spelling correction 122 “ABSCESS” invalid withrespect to the INSERT algorithm. Similarly, if the third letter receivedfrom the dictionary 42 is anything other than the letter “U” or acharacter equivalent thereto, the SWAP algorithm will fail as requiringan invalid canonical edit distance of at least two from the misspelledword “NAUSCUIT”, which would make the candidate spelling correction“ABSCESS” invalid with respect to the SWAP algorithm.

It is noted that the REPLACE and DELETE algorithms failed when thesecond letter, i.e., “B,” was proposed by the dictionary 42 since theletter “B” could not be found in the character set 116 associated withthe character 112 “A” of the data set 108 which was pointed to at thattime by the REPLACE algorithm state 136. The DELETE algorithm failedbecause the second letter, i.e., “B,” proposed by the dictionary 42could not be found in the character set 116 associated with thecharacter 112 “U” of the data set 108 which was pointed to at that timeby the DELETE algorithm state 140.

As mentioned above, however, the INSERT and SWAP algorithms remain validupon acceptance of the letter “B” of the candidate spelling correction.Upon proposal of the third letter “S” by the dictionary 42, however, theSWAP algorithm must fail because the letter “S” cannot be found in thecharacter set 116 associated with the character “U” of the data set 108and which is presently pointed to by the SWAP algorithm state 132.However, since the proposed third letter “S” from the dictionary 42 canbe found in the character set 116 associated with the character 112 “A”in the data set 108 which is presently pointed to by the INSERTalgorithm state 128, the letter “S” is accepted by the spell checkingroutine 44 as to the INSERT algorithm.

When the fourth letter “C” of the candidate spelling correction 122“ABSCESS” is proposed by the dictionary 42, the INSERT algorithm is theonly spell check algorithm that remains viable as to the candidatespelling correction 112 “ABSCESS.” However, the proposed fourth letter“C” cannot be found in the character set 116 associated with thecharacter 112 “U” in the data set 108 and to which the INSERT algorithmstate 128 is currently pointing. As such, the fourth letter “C” proposedby the dictionary 42 fails and is not accepted by the spell checkingroutine 44. Rather, the candidate spelling correction 122 “ABSCESS” isrejected by the spell checking routine 44, and the dictionary 42therefore continues searching throughout the words stored therein toidentify another candidate spelling correction 122 for possibleacceptance by the spell checking routine 44 in a fashion similar to thatset forth above.

In the exemplary embodiment described herein, the dictionary 42processes as candidate spelling corrections all of the words stored incurrent node which, in the example of the candidate spelling correction“ABSCESS” would be the “ABS” leaf node. For instance, the dictionary 42would process all of the words beginning with “ABS” such as the words“ABSOLUTE” and “ABSTRACT” and the like as candidate spellingcorrections.

As mentioned above, the spell checking algorithm 44 includes a RECALLfeature which enables it to avoid some repetitious processing. Forinstance, in the above example the dictionary was processing the wordsat the “ABS” leaf node, which depends from the “AB” internal node. Sincethe letters “A” and “B” were accepted by the spell checking algorithm44, if other words likewise depend from the “AB” internal node, such asmight be stored in the “ABO” leaf node, it would be desirable to avoidrepetition of the proposal and acceptance of the first two letters “A”and “B” between the dictionary 42 and the spell checking algorithm 44.

Accordingly, the dictionary 42 stores a pointer that points to theimmediately previous node, and this previous node will be recalled oncethe end of the current node is reached. For instance, therefore, oncethe end of the “ABS” leaf node is reached, the dictionary 42 recalls theimmediately prior node, which would be the internal node “AB”, and theprocessing of further candidate spelling corrections begins from suchprior node. That is, instead of asking the spell checking routine toagain accept “A” and “B” as the first two characters of a proposedspelling correction, the dictionary recalls the prior internal node “AB”and begins to identify candidate spelling corrections from that point.For instance, the dictionary 42 might begin by asking the spell checkingroutine 44 if the letter “O” would be acceptable as a third characterand, if it is accepted, by moving to the “ABO” leaf node and sendingletters of the words stored at that location for acceptance by the spellchecking routine 44. In such a situation, the spell checking routinewould likewise recall the positions of its states 124, 128, 132, 136,and/or 140 at the time of acceptance of the second letter “B” in orderto enable it to determine whether or not “O” would be acceptable as athird character by any of the spell check algorithms that are viable atthat point. This advantageously saves time and reduced unnecessaryduplicate processing.

After processing and exhausting the possible candidate spellingcorrections 122 in the dictionary 42 that begin with the letter “A,” thedictionary 42 might begin to propose candidate spelling corrections 122that begin with the letter “B”. For the sake of completeness, it isnoted that in so doing the dictionary 42 may have retained the letter“B” as being part of the list of letters returned by the spell checkingroutine 44 in response to the aforementioned first callback operation.It is also noted in this regard that the dictionary 42 may have at thispoint repeated the aforementioned third callback operation, except thistime the dictionary 42 would have requested from the spell checkingroutine 44 a list of letters that would be valid second letters given anacceptance of the letter “B” as a first character. As is furtherdepicted as another example in FIG. 4, the dictionary 42 has identifiedthe word “BASICALLY” as a candidate spelling correction 122 that will beproposed on a letter-by-letter basis to the spell checking routine 44.

As can be seen from the second example in FIG. 4, the first four letters“BASI” of the candidate spelling correction 122 “BASICALLY” wereaccepted at a canonical edit distance of zero by the spell checkingroutine, as is indicated by the changes to the zero edit distance state224 in FIG. 4. In so doing, it is noted that in addition to its abilityto maintain states for the four spell check algorithms, the spellchecking routine 44 additionally saves the most recently proposed letterfrom the dictionary 42. If a current letter proposed by the dictionary42 is identical or equivalent to the stored immediately preceding letterthat was proposed by the dictionary 42, the current letter is implicitlyaccepted by the spell checking routine 44 without changing any of thestored states. Thereafter, the dictionary 42 would propose the nextletter in the current candidate spelling correction 122. Therefore, inthe example of the candidate spelling correction 122 “BASICALLY”, theletters “B” and “A” were accepted by the spell checking routine as beingat a canonical edit distance of zero from the first two characters ofthe misspelled word “NAUSCUIT”. The third letter “S” of “BASICALLY” wasaccepted implicitly by the spell checking routine 44 as being equivalentto the immediately preceding letter “A” that was proposed by thedictionary 42. The fourth letter “I” of “BASICALLY” was accepted by thespell checking routine 44 at a canonical edit distance of zero from themisspelled word “NAUSCUIT” on the basis of the proposed letter “I” beingfound in the character set 116 associated with the third character 112of the data set 108, i.e., the character 112 “U”.

However, when the letter “C” of “BASICALLY” is proposed by thedictionary 42, the zero edit distance state 224 points to the characterset 116 associated with the character “S” of the data set 108, and theletter “C” is not found in such character set 116. Therefore, the fourspell check algorithms are consulted, and it is determined that all fourspell check algorithms can accept the proposed letter “C” at a canonicaledit distance of one from “NAUSCUIT”. Upon the acceptance of “C”, theINSERT algorithm state 228 and the SWAP algorithm state 232 are eachpointing to the character set 116 associated with the character 112 “S”in the data set. The REPLACE algorithm state 236 is pointed to thecharacter set 116 associated with the character 112 “C” of the data set,and the DELETE algorithm state 240 is pointing to the character set 116associated with the collapsed characters 112 “UI” of the data set 108.

The sixth letter “A” of “BASICALLY” is accepted only by the INSERT andSWAP algorithms, and the REPLACE and DELETE algorithms fail. Thereafter,the proposal of the letter “L” of “BASICALLY” causes the INSERT and SWAPalgorithms, i.e., the only remaining viable spell check algorithms, tofail. As such, the word “BASICALLY” is rejected by the spell checkingroutine 44 as a candidate spelling correction 122. The dictionary 42thus is instructed to seek other words stored therein for possibleproposal as candidate spelling corrections 122.

FIG. 4 further depicts how the word “BISCUIT” identified by thedictionary 42 as being a candidate spelling correction 122 matures intoa proposed spelling correction 106 that is sent to the output file forpossible output on the display 18. As mentioned above, the misspelledword “NAUSCUIT” resulted from the user seeking to type the word“BISCUIT” but with the unintentional insertion of an actuation of the<AS> key 28 between actuations of the <BN> key 28 and the <UI> key 28.It can be seen from FIG. 4 in the context of the word “BISCUIT” as acandidate spelling correction 122 that the letter “B” is accepted asbeing at a zero edit distance from “NAUSCUIT”, as is indicated by thezero edit distance state 324. However, the second letter “I” of“BISCUIT” is accepted by the INSERT, SWAP, REPLACE, and DELETEalgorithms at a canonical edit distance of one, as is indicated by theINSERT algorithm state 328, the SWAP algorithm state 332, the REPLACEalgorithm state 336, and the DELETE algorithm state 340. The letter “S”is accepted on behalf of the INSERT, SWAP, and DELETE spell checkalgorithms, but it causes the REPLACE algorithm to fail. The letter “C”can be accepted only on behalf of the DELETE algorithm, with the INSERTand SWAP algorithms failing.

It can be seen from FIG. 4 that the DELETE algorithm remains viable,i.e., can accept additional letters while maintaining a canonical editdistance of one from the misspelled word “NAUSCUIT,” through theacceptance of all of the letters of the word “BISCUIT”. The continuedviability of the DELETE algorithm in the present example makes logicalsense since the word “BISCUIT” was misspelled as a result of anunintentional insertion of a keystroke <AS>. Therefore, a singledeletion of the effect of the unintended keystroke <AS> results in thecandidate spelling correction 122 “BISCUIT” maturing into a proposedspelling correction 106 and being stored for possible outputting on thedisplay 18.

It thus can be seen that the generation of the canonical version of themisspelled word, i.e., the creation of the data set 108, alleviates theeffect of incorrectly actuating a given key 28 too many sequential timesduring a text entry by collapsing adjacent equivalent characters into asingle character set or data element. Similarly, the misspelling ofwords that by too few sequential actuation of a given key 28 issimilarly alleviated by the storage by the spell checking routine 44 ofthe most recent proposed letter from the dictionary 42. As such, thecanonical version of the misspelled word in combination with theimplicit acceptance of letters that are equivalent to immediatelypreceding letters overcomes spelling errors that occur due to incorrectnumbers of actuations of keys 28 during text entry. This is particularlyadvantageous in the context of a reduced keyboard since text entry onsuch a keypad oftentimes involves multiple sequential actuations of thesame key 28.

Moreover, the canonical version of the misspelled word, i.e., the dataset 108, enables a user to type words having diacritical forms ofcharacters without having to expressly enter the diacritical marks, andthe like, since diacritical and non-diacritical forms of characters areconsidered to be equivalent. That is, depending upon which language isactive on the handheld electronic device 4, a user could type thenon-diacritical forms of the characters of a diacritical word, and thespell checking routine 44 would identify the diacritical word as being aproposed spelling correction 106 on the basis of the equivalence betweendiacritical and non-diacritical forms of characters, as can be discernedfrom the keyboard mapping table 47.

The configuration of the spell checking routine 44 in conjunction withthe dictionary 42 advantageously requires less processor effort than isrequired by other spell checking system since the spell checking routine44 avoids the repetitive checking of certain portions of the dictionary42 as a result of wild card searching. This processor savings is inaddition to processor savings that results from the avoidance of certainrepetitive processing by the RECALL feature mentioned above. Forexample, the use of wild card characters placed in various positionswithin a misspelled word can cause various portions of the dictionary 42to be searched multiple times, such as when the wild card values areequal to the original values of the characters they are replacing. Bycausing the dictionary 42 to propose letters which can either beaccepted or rejected by the spell checking routine 44, various searchedportions of the dictionary 42 are searched only once, thereby avoidingthe unnecessary consumption of processor resource.

Additionally, the spell checking routine 44 enables all four of thespell check algorithms to be evaluated more-or-less simultaneously withrespect to each letter that is proposed by the dictionary 42. Forinstance, the spell checking routine 44 advantageously stores the stateof each spell check algorithm to determine if, within a canonical editdistance of no more than one, each proposed letter from the dictionary42 validly corresponds with a predetermined portion of the data set 108,as is indicated by the state of each spell check algorithm. If a spellcheck algorithm ceases to be viable, such as if a canonical editdistance of two was required to make the spell check algorithm viable,the spell check algorithm fails and is ignored or disregarded as futureletter of the same candidate spelling correction 122 are proposed by thedictionary 42. As such, the data transfers between the dictionary 42 andthe spell checking algorithm 44 occur only once for all four of thespell check algorithms, rather than requiring a separate data transferfor each spell check algorithm, thereby further reducing unnecessaryconsumption of processor resource.

As mentioned above, incorrect numbers of repetitions of keys and swapsbetween equivalent characters are not counted in determining a canonicaledit distance, and the canonical edit distance is employed for thepurpose of determining whether a candidate spelling correction in thedictionary 42 should be stored in an output file as a proposed spellingcorrection for possible outputting on the display 18. However, suchincorrect numbers of repetitions of keys and swaps between equivalentcharacters are considered when calculating an actual edit distance, andthe actual edit distance is employed in determining which of theproposed spelling corrections will be output on the display 18 and inwhat order.

Proposed spelling corrections are stored in an output file whichautomatically prioritizes each such received proposed spellingcorrection with respect to those already stored in the file. Any of avariety of criteria can be employed in determining priority. Forexample, proposed spelling corrections having a relatively small actualedit distance can be positioned in the output list at a higher prioritythan proposed spelling corrections having a relatively large actual editdistance. Other criteria may be additionally or alternatively employed.When operation of the spell checking routine 44 has been completed as toany misspelled word, a certain number of the proposed spellingcorrections in the output file are displayed for selection by the userin order of decreasing priority.

An improved method in accordance with the disclosed and claimed conceptis depicted generally in FIG. 5. The flowchart depicts one exemplary wayin which the concepts disclosed and claimed herein can be implemented,it being understood that other methodologies may be employed withoutdeparting from the present concept. It is reiterated that callbackoperations such as the first and third callback operations mentionedabove are not expressly pointed out in the flowchart of FIG. 5, althoughit is understood that such callback operations might nevertheless occur.

Processing can be said to begin, as at 504, where a candidate spellingcorrection 122 is identified by the dictionary 42 and the spell checkingroutine 44 sets the zero edit distance state at the first character set116, i.e., the leftmost column of the data set 108 that was generatedfor the misspelled word. The dictionary 42 thereafter proposes a letterof the candidate spelling correction 122, and the letter is received, asat 508, by the spell checking routine 44. It is then determined, as at512, whether the current letter is equivalent to the most recentlyproposed letter from the dictionary 42. If the current letter isdetermined at 512 to be equivalent to the immediately preceding letter,the current letter is implicitly accepted, as at 516, without changingany of the stored states, and processing continues, as at 508, whereadditional letters that are proposed by the dictionary 42 can bereceived by the spell checking routine 44.

On the other hand, if it is determined, as at 512, that the currentletter is not equivalent to the immediately preceding letter receivedfrom the dictionary 42, processing continues, as at 520, where it isdetermined whether the current letter matches any existing state that ismaintained by the spell checking routine. This may include the zero editdistance state or the states of any of the four spell check algorithms,to the extent that such spell check algorithms remain viable and havenot been ignored by the spell checking routine 44. If it is determined,as at 520, that the currently proposed letter matches at least onestored state, processing continues, as at 524, where it is determinedwhether the end of the candidate spelling correction 122 and the end ofthe data set 108 have been reached. If the end of both has been reached,processing continues, as at 528, where the candidate spelling correction122 is stored in a file for eventual possible outputting as a proposedspelling correction 106.

However, if it is determined at 524 that the end has not been reached,processing will continue, as at 532, where any unmatched states areignored or are set to a null value, and thereafter at 536 where theremaining states, i.e., those that were matched and therefore remainviable, are shifted as appropriate. Processing thereafter continues, asat 508, where additional letters can be received from the dictionary 42.

If it is determined, as at 520, that the currently proposed letter fromthe dictionary 42 does not match any of the existing states stored bythe spell checking routine 44, processing continues, as at 540, where itis determined whether the existing states are the result of the spellcheck algorithms. That is, it is essentially determined at 540 whetherthe zero edit distance state 124 was the only existing state at 520. Ifso, this would indicate that the letters that have been accepted by thespell checking routine 44 have all been within an edit distance of zeroof the misspelled word. If the current states are not the result of thespell check algorithms, this would suggest, in turn, that all of thespell check algorithms are viable and can be used to accept thecurrently proposed letter as long as the currently proposed letter iswithin an edit distance of one for an algorithm from the current state.

If it is determined, as at 544, that at least one of the spell checkalgorithms can accept the currently proposed letter within an editdistance of one, processing continues, as at 548, where the zero editdistance state is ignored and states are set for each viable spell checkalgorithm, i.e., each spell check algorithm that was able to accept thecurrent letter within an edit distance of one. Processing wouldthereafter continue, as at 508, where additional letters can be receivedfrom the dictionary 42.

On the other hand, if it is determined, as at 540, that the existingstates were the result of the spell check algorithms, this wouldindicate that the accepted letters of the candidate spelling correction122 were already at an edit distance of one from the misspelled wordaccording to all of the spell check algorithms. In such a situation, aninability to further match, as at 520, an additional letter to the spellcheck algorithms would indicate that all of the spell check algorithmsare invalid, i.e., would require an edit distance of two or more, whichwould cause the spell check algorithms to fail. As such, the candidatespelling correction 122 would be rejected, as at 522. Thereafter, thedictionary 42 would be instructed to identify another word as beinganother candidate spelling correction 122 for processing by the spellchecking routine 44. Processing would thereafter return, as at 504,where the new candidate spelling correction 122 could be evaluated bythe spell checking routine 44.

While the spell checking routine 44 is described above in detail inconjunction with a reduced keyboard, i.e., the keypad 24, it isunderstood that the spell checking routine 44 could also beadvantageously implemented on a device that employs a full keyboard. Forexample, the user may have intended to type the word “falling” but hadinstead typed “feling”, i.e., the user had typed an “E” instead of an“A” and had typed a single “L” instead of a double “L”. The spellchecking routine 44 would determine that the word was misspelled andwould generate a canonical version of the misspelled word by generatinga canonicalized form thereof, i.e., <F> <E> <L> <I> <N> <G>, and bygenerating for each data element a corresponding character set. Forexample, the character set for the data element <E> would include thenon-diacritical “e” and “E” as well as all diacritical forms thereof.

The spell checking routine 44 would employ the methodology set forthabove to identify as a proposed spelling correction the word “falling”on the basis of the REPLACE spell check algorithm replacing the letter“E” with the letter “A” at a canonical edit distance of one and with theadditional “L” being accepted without affecting the canonical editdistance. While the proposed spelling correction “falling” has an actualedit distance of two from the misspelled word “feling”, the canonicaledit distance therebetween is an edit distance of one. The spellchecking routine 44 would similarly identify as another proposedspelling correction the word “feelings” at a canonical edit distance ofone and an actual edit distance of two, for example. These two wordswould be identified and potentially output by the spell checking routine44 despite having an actual edit distance of two. The spell checkingroutine 44 can thus be said in the context of a full keyboard to providebetter spelling corrections than spell check engines that identify andoutput only those words within an actual edit distance of one from amisspelled word.

It is noted that additional benefits are provided by the multiple-axisinput device mentioned above. For instance, an exemplary home screenoutput 1060 that can be visually output on the display 18 is depicted inFIG. 6 as including a plurality of icons 1062 that are selectable by theuser for the purpose of, for example, initiating the execution on theprocessor apparatus 16 of a routine that is represented by an icon 1062.The track ball 32 is rotatable to provide, for example, navigationalinputs among the icons 1062.

For example, FIG. 6 depicts the travel of an indicator 1066 from theicon 1062A, as is indicated in broken lines with the indicator 1066A, tothe icon 1062B, as is indicated in broken lines with the indicator1066B, and onward to the icon 1062C, as is indicated by the indicator1066C. It is understood that the indicators 1066A, 1066B, and 1066C arenot necessarily intended to be simultaneously depicted on the display18, but rather are intended to together depict a series of situationsand to indicate movement of the indicator 1066 among the icons 1062. Theparticular location of the indicator 1066 at any given time indicates toa user the particular icon 1062, for example, that is the subject of aselection focus of the handheld electronic device 4. Whenever an icon1062 or other selectable object is the subject of the selection focus, aselection input to the processor apparatus 16 will result in executionor initiation of the routine or other function that is represented bythe icon 1062 or other selectable object.

The movement of the indicator 1066 from the icon 1062A, as indicatedwith the indicator 1066A, to the icon 1062B, as is indicated by theindicator 1066B, was accomplished by rotating the track ball 32 aboutthe vertical axis 34B to provide a horizontal navigational input. Asmentioned above, a rotation of the track ball 32 a predeterminedrotational distance results in an input to the processor apparatus 16.In the present example, the track ball 32 would have been rotated aboutthe vertical axis 34B a rotational distance equal to three times thepredetermined rotational distance since the icon 62B is disposed threeicons 1062 to the right the icon 1062A. Such rotation of the track ball32 likely would have been made in a single motion by the user, but thisneed not necessarily be the case.

Similarly, the movement of the indicator 1066 from the icon 1062B, asindicated by the indicator 1066B, to the icon 1062C, as is indicated bythe indicator 1066C, was accomplished by the user rotating the trackball 32 about the horizontal axis 34A to provide a vertical navigationalinput. In so doing, the track ball 32 would have been rotated arotational distance equal to two times the predetermined rotationaldistance since the icon 1062C is disposed two icons 1062 below the icon1062B. Such rotation of the track ball 32 likely would have been made ina single motion by the user, but this need not necessarily be the case.

It thus can be seen that the track ball 32 is rotatable in variousdirections to provide various navigational and other inputs to theprocessor apparatus 16. Rotational inputs by the track ball 32 typicallyare interpreted by whichever routine is active on the handheldelectronic device 4 as inputs that can be employed by such routine. Forexample, the GUI 46 that is active on the handheld electronic device 4in FIG. 6 requires vertical and horizontal navigational inputs to movethe indicator 1066, and thus the selection focus, among the icons 1062.If a user rotated the track ball 32 about an axis oblique to thehorizontal axis 34A and the vertical axis 34B, the GUI 46 likely wouldresolve such an oblique rotation of the track ball 32 into vertical andhorizontal components which could then be interpreted by the GUI 46 asvertical and horizontal navigational movements, respectively. In such asituation, if one of the resolved vertical and horizontal navigationalmovements is of a greater magnitude than the other, the resolvednavigational movement having the greater magnitude would be employed bythe GUI 46 as a navigational input in that direction to move theindicator 1066 and the selection focus, and the other resolvednavigational movement would be ignored by the GUI 46, for example.

When the indicator 1066 is disposed on the icon 1062C, as is indicatedby the indicator 1066C, the selection focus of the handheld electronicdevice 4 is on the icon 1062C. As such, a translation of the track ball32 toward the housing 6 as described above would provide an input to theprocessor apparatus 16 that would be interpreted by the GUI 46 as aselection input with respect to the icon 1062C. In response to such aselection input, the processor apparatus 16 would, for example, begin toexecute a routine that is represented by the icon 1062C. It thus can beunderstood that the track ball 32 is rotatable to provide navigationaland other inputs in multiple directions, assuming that the routine thatis currently active on the handheld electronic device 4 can employ suchnavigational or other inputs in a plurality of directions, and can alsobe translated to provide a selection input or other input.

As mentioned above, FIG. 7 depicts an exemplary menu 1035A that would beappropriate if the user's current logical location within the logicalmenu tree was viewing an email within an email routine. That is, themenu 1035A provides selectable options that would be appropriate for auser given that the user is, for example, viewing an email within anemail routine. In a similar fashion, FIG. 8 depicts another exemplarymenu 1035B that would be depicted if the user's current logical locationwithin the logical menu tree was within a telephone routine.

Rotational movement inputs from the track ball 32 could be employed tonavigate among, for example, the menus 1035A and 1035B. For instance,after an actuation of the <MENU> key 33 and an outputting by the GUI 46of a resultant menu, the user could rotate the track ball 32 to providescrolling inputs to successively highlight the various selectableoptions within the menu. Once the desired selectable option ishighlighted, i.e., is the subject of the selection focus, the user couldtranslate the track ball 32 toward the housing 6 to provide a selectioninput as to the highlighted selectable option. In this regard, it isnoted that the <MENU> key 33 is advantageously disposed adjacent thetrack ball 32. This enables, for instance, the generation of a menu byan actuation the <MENU> key 33, conveniently followed by a rotation thetrack ball 32 to highlight a desired selectable option, for instance,followed by a translation of the track ball 32 toward the housing 6 toprovide a selection input to initiate the operation represented by thehighlighted selectable option.

It is further noted that one of the additional inputs that can beprovided by a translation of the track ball 32 is an input that causesthe GUI 46 to output a reduced menu. For instance, a translation of thetrack ball 32 toward the housing 6 could result in the generation andoutput of a more limited version of a menu than would have beengenerated if the <MENU> key 33 had instead been actuated. Such a reducedmenu would therefore be appropriate to the user's current logicallocation within the logical menu tree and would provide those selectableoptions which the user would have a high likelihood of selecting.Rotational movements of the track ball 32 could provide scrolling inputsto scroll among the selectable options within the reduced menu 1035C,and translation movements of the track ball 32 could provide selectioninputs to initiate whatever function is represented by the selectableoption within the reduce menu 1035C that is currently highlighted.

By way of example, if instead of actuating the <MENU> key 33 to generatethe menu 1035A the user translated the track ball 32, the GUI 46 wouldgenerate and output on the display the reduced menu 1035C that isdepicted generally in FIG. 9. The exemplary reduced menu 1035C providesas selectable options a number of the selectable options from the menu1035A that the user would be most likely to select. As such, a userseeking to perform a relatively routine function could, instead ofactuating the <MENU> key 33 to display the full menu 1035A, translatethe track ball 32 to generate and output the reduced menu 1035C. Theuser could then conveniently rotate the track ball 32 to providescrolling inputs to highlight a desired selectable option, and couldthen translate the track ball 32 to provide a selection input whichwould initiate the function represented by the selectable option in thereduced menu 1035C that is currently highlighted.

In the present exemplary embodiment, many of the menus that could begenerated as a result of an actuation of the <MENU> key 33 could insteadbe generated and output in reduced form as a reduced menu in response toa translation of the track ball 32 toward the housing 6. It is noted,however, that a reduced menu might not be available for each full menuthat could be generated from an actuation of the <MENU> key 33.Depending upon the user's specific logical location within the logicalmenu tree, a translation of the track ball 32 might be interpreted as aselection input rather than an input seeking a reduced menu. Forinstance, a translation of the track ball 32 on the home screen depictedin FIG. 1 would result in a selection input as to whichever of the icons1062 is the subject of the input focus. If the <MENU> key 33 wasactuated on the home screen, the GUI 46 would output a menu appropriateto the home screen, such as a full menu of all of the functions that areavailable on the handheld electronic device 4, including those thatmight not be represented by icons 1062 on the home screen.

FIG. 10 depicts a quantity of text that is output on the display 18,such as during a text entry operation or during a text editingoperation, for example. The indicator 1066 is depicted in FIG. 10 asbeing initially over the letter “L”, as is indicated with the indicator1066D, and having been moved horizontally to the letter “I”, as isindicated by the indicator 1066E, and thereafter vertically moved to theletter “W”, as is indicated by the indicator 1066F. In a fashion similarto that in FIG. 6, the cursor 1066 was moved among the letters “L”, “I”,and “W” through the use of horizontal and vertical navigational inputsresulting from rotations of the track ball 32. In the example of FIG.10, however, each rotation of the track ball 32 the predeterminedrotational distance would move the indicator 1066 to the next adjacentletter. As such, in moving the indicator 1066 between the letters “L”and “I,” the user would have rotated the track ball 32 about thevertical axis 1034B a rotational distance equal to nine times thepredetermined rotational distance, for example, since “I” is disposednine letters to the right of“L”.

FIG. 11 depicts an output 1064 on the display 18 during, for example, atext entry operation that employs the disambiguation routine 45. Theoutput 1064 can be said to comprise a text component 1068 and a variantcomponent 1072. The variant component 1072 comprises a default portion1076 and a variant portion 1080. FIG. 11 depicts the indicator 1066G onthe variant 1080 “HAV”, such as would result from a rotation of thetrack ball 32 about the horizontal axis 34A to provide a downwardvertical scrolling input. In this regard, it is understood that arotation of the track ball 32 a distance equal to the predeterminedrotational distance would have moved the indicator 1066 from a position(not expressly depicted herein) disposed on the default portion 1076 tothe position disposed on the first variant 1080, as is depicted in FIG.11. Since such a rotation of the track ball 32 resulted in the firstvariant 1080 “HAV” being highlighted with the indicator 1066G, the textcomponent 1068 likewise includes the text “HAV” immediately preceding acursor 1084A.

FIG. 12 depict an alternative output 1064A having an alternative variantcomponent 1072A having a default portion 1076A and a variant portion1080A. The variant component 1072A is horizontally arranged, meaningthat the default portion 1076A and the variants 1080A are disposedhorizontally adjacent one another and can be sequentially selected bythe user through the use of horizontal scrolling inputs, such as by theuser rotating the track ball 32 the predetermined rotational distanceabout the vertical axis 34B. This is to be contrasted with the variantcomponent 1072 of FIG. 11 wherein the default portion 1076 and thevariants 1080 are vertically arranged, and which can be sequentiallyselected by the user through the user of vertical scrolling inputs withthe track ball 32.

In this regard, it can be understood that the track ball 32 can provideboth the vertical scrolling inputs employed in conjunction with theoutput 1064 as well as the horizontal scrolling inputs employed inconjunction with the output 1064A. For instance, the disambiguationroutine 45 potentially could allow the user to customize the operationthereof by electing between the vertically arranged variant component1072 and the horizontally arranged variant component 1072A. The trackball 32 can provide scrolling inputs in the vertical direction and/orthe horizontal direction, as needed, and thus is operable to provideappropriate scrolling inputs regardless of whether the user chooses thevariant component 1072 or the variant component 1072A. That is, thetrack ball 32 can be rotated about the horizontal axis 34A to providethe vertical scrolling inputs employed in conjunction with the variantcomponent 1072, and also can be rotated about the vertical axis 34B toprovide the horizontal scrolling inputs that are employed in conjunctionwith the variant component 1064A. The track ball 32 thus could provideappropriate navigational, strolling, selection, and other inputsdepending upon the needs of the routine active at any time on thehandheld electronic device 4. The track ball 32 enables suchnavigational, strolling, selection, and other inputs to be intuitivelygenerated by the user through rotations of the track ball 32 indirections appropriate to the active routine, such as might be indicatedon the display 18.

It can further be seen from FIG. 12 that the variant component 1072Aadditionally includes a value 1081 that is indicative of the languageinto which the disambiguation routine 45 will interpret ambiguous textinput. In the example depicted in FIG. 12, the language is English, asis the language in FIG. 1.

As can be seen in FIG. 13, the value 1081 can be selected by the user tocause the displaying of a list 1083 of alternative values 1085. Thealternative values 1085 are indicative of selectable alternativelanguages into which the disambiguation routine 45 can interpretambiguous input. A selection of the value 1081 would have been achieved,for example, by the user providing horizontal scrolling inputs with thetrack ball 32 to cause (not expressly depicted herein) the indicator1066 to be disposed over the value 1081, and by thereafter translatingthe track ball 32 toward the housing 6 to provide a selection input.

The alternative values 1085 in the list 1083 are vertically arrangedwith respect to one another and with respect to the value 1081. As such,a vertical scrolling input with the track ball 32 can result in avertical movement of the indicator 10661 to a position on one of thealternative values 1085 which, in the present example, is thealternative value 1085 “FR”, which is representative of the Frenchlanguage and, more specifically, refers to the French dictionary of thedictionary 42. The alternative value 1085 “FR” could become selected bythe user in any of a variety of fashions, such as by actuating the trackball 32 again, by continuing to enter text, or in other fashions. Itthus can be understood from FIG. 12 and FIG. 13 that the track ball 32can be rotated to provide horizontal scrolling inputs and, whenappropriate, to additionally provide vertical scrolling inputs and, whenappropriate, to additionally provide selection inputs, for example.

FIG. 14 depicts another exemplary output on the display 18 such as mightbe employed by a data entry routine. The exemplary output of FIG. 14comprises a plurality of input fields 1087 with correspondingdescriptions. A cursor 1084D, when disposed within one of the inputfields 1087, indicates to the user that an input focus of the handheldelectronic device 4 is on that input field 1087. That is, data such astext, numbers, symbols, and the like, will be entered into whicheverinput field 1087 is active, i.e., is the subject of the input focus. Itis understood that the handheld electronic device 4 might perform otheroperations or take other actions depending upon which input field 1087is the subject of the input focus.

Navigational inputs from the track ball 32 advantageously enable thecursor 1084D, and thus the input focus, to be switched, i.e., shifted,among the various input fields 1087. For example, the input fields 1087could include the input fields 1087A, 1087B, and 1087C. FIG. 14 depictsthe cursor 1084D as being disposed in the input field 1087C, indicatingthat the input field 1087C is the subject of the input focus of thehandheld electronic device 4. It is understood that the cursor 1084D,and thus the input focus, can be shifted from the input field 1087C tothe input field 1087A, which is disposed adjacent and vertically abovethe input field 1087C, by providing a vertical scrolling input in theupward direction with the track ball 32. That is, the track ball 32would be rotated the predetermined rotational distance about thehorizontal axis 34. Similarly, the cursor 1084D, and thus the inputfocus, can be shifted from the input field 1087A to the input field1087B, which is disposed adjacent and to the right of the input field1087A, by providing a horizontal scrolling input to the right with thetrack ball 32. That is, such a horizontal scrolling input could beprovided by rotating the track ball the predetermined rotationaldistance about the vertical axis 34B. It thus can be seen that the trackball 32 is rotatable in a plurality of directions about a plurality axesto provide navigational, scrolling, and other inputs in a plurality ofdirections among a plurality of input fields 1087. Other types of inputsand/or inputs in other applications will be apparent.

An improved handheld electronic device 2004 in accordance with stillanother embodiment of the disclosed and claimed concept is depictedgenerally in FIG. 15 and FIG. 16. The handheld electronic device 2004includes a housing 2006 upon which are disposed an input apparatus 2008,an output apparatus 2012, and a processor apparatus 2016. The processorapparatus 2016 comprises a processor 2036 a memory 2040 having storedtherein a number of routines 2044. All of the operations that can beperformed on or with the handheld electronic device 4 can be performedon or with the handheld electronic device 2004. As such, the features ofthe handheld electronic device 2004 that are common with the handheldelectronic device 4, and this would comprise essentially all of thefeatures of the handheld electronic device 4, will generally not berepeated.

As a general matter, the handheld electronic device 2004 issubstantially identical in configuration and function to the handheldelectronic device 4, except that the handheld electronic device 2004includes a touch screen display 2055 that provides a non-mechanicalmultiple-axis input device 2032 instead of the track ball 32. Thenon-mechanical multiple-axis input device 2032 can be said to be in theform of a virtual track ball 2032.

As is generally understood, the touch screen display 2055 includes aliquid crystal layer between a pair of substrates, with each substrateincluding an electrode. The electrodes form a grid which defines theaperture size of the pixels. When a charge is applied to the electrodes,the liquid crystal molecules of the liquid crystal layer become alignedgenerally perpendicular to the two substrates. A display input/outputsubassembly 2053 of the output apparatus 2012 controls the location ofthe charge applied to the electrodes thereby enabling the formation ofimages on the touch screen display 2055.

Additionally, the touch screen display 2055 comprises a sensor assembly2057 which comprises an output device 2059 and a plurality of detectors2061. The detectors 2061 are shown schematically and are typically toosmall to be seen by the naked eye. Each detector 2061 is in electricalcommunication with the output device 2059 and creates an output signalwhen actuated. The detectors 2061 are disposed in a pattern, discussedbelow, and are structured to detect an external object immediatelyadjacent to, or touching, the touch screen display 2055. The externalobject is typically a stylus or a user's finger (not shown). The outputdevice 2059 and/or the processor 2016 are structured to receive thedetector signals and convert the signals to data representing thelocation of the external object relative to the touch screen display2055. As such, while the sensor assembly 2057 is physically a componentof the touch screen display 2055, it is nevertheless considered to be alogical component of the input apparatus 2008 since it provides input tothe processor apparatus.

The detectors 2061 are typically capacitive detectors, opticaldetectors, resistive detectors, or mechanical detectors such as straingauge or charged grid, although other technologies may be employedwithout departing from the present concept. Typically, capacitivedetectors are structured to detect a change in capacitance caused by theelectrical field of the external object or a change in capacitancecaused by the compression of the capacitive detector. Optical detectorsare structured to detect a reflection of light, e.g., light created bythe touch screen display 2055. Mechanical detectors include a chargedgrid with columns that would be disposed on one side of the touch screendisplay 2055 and a corresponding grid without columns would be disposedat another location on the touch screen display 2055. In such aconfiguration, when the touch screen display 2055 is compressed, i.e. asa result of being touched by the user, the columns at the area ofcompression contact the opposing grid thereby completing a circuit.

Capacitive detectors may be disposed upon either substrate and, althoughsmall, require space. Thus, and any pixel that is disposed adjacent adetector 2061 will have a reduced size, or aperture, to accommodate theadjacent detector 2061.

The detectors 2061 are disposed in a pattern, and at least some of thedetectors 2061 preferably are arranged in lines that form a grid. Afirst portion of the detectors 2061 are disposed on a first area 2081 ofthe touch screen display 2055, and a second portion of the detectors2061 are disposed on a second area 2083 of the touch screen display2055. As can be seen from FIG. 15, the first area 2081 essentially isevery region of the touch screen display 2005 other than the second area2083.

The first portion of the detectors 2061 disposed on the first area 2081of the touch screen display 2055 are disposed in a relatively sparsepattern in order to minimize the visual interference that is caused bythe presence of the detectors 2061 adjacent the pixels. Preferably, thespacing of the detectors 2061 on the first area 2081 is between about1.0 mm and 10.0 mm between the detectors 2061, and more preferably about3.0 mm between the detectors 2061.

The second portion of the detectors 2061 are disposed in a relativelydense pattern on the second area 2083 of the touch screen display 2055and are structured to support the function of the virtual track ball2032. The image quality in the second area 2083 of the touch screendisplay 2055 is adversely affected due to the dense spacing of thedetectors 2061 there. However, the second area 2083 is a relativelysmall area compared to the entire touch screen display 2055. Preferably,the density of the detectors 2061 in the second area 2083 is betweenabout 0.05 mm and 3.0 mm between the detectors, and more preferablyabout 0.1 mm between the detectors 2061. Further, because the pixels inthe second area 2083 are dedicated for the virtual track ball 2032, itis acceptable to have a reduced pixel density with larger pixels. Sincethe pixel size would be very large, the aspect ratio would besignificantly higher than that of pixels that are not disposed adjacenta detector 2061. The pixels in the second area 2083 likely would bespecial function pixels, such as pixels that would both depict thevirtual track ball 2032 and that would light up the second area 2083 tohighlight the virtual track ball 2032.

The processor apparatus is structured to create images and define theboundaries of selectable portions of the images on the touch screendisplay 2055. For example, the processor apparatus will create theimages of selectable icons or other objects on specific portions of thetouch screen display 2055. The processor apparatus is further structuredto relate specific detectors 2061 to the specific portions of the touchscreen display 2055. Thus, when the processor apparatus detects theactuation of a specific detector 2061 adjacent to a specific image, e.g.a selectable icon, the processor apparatus will initiate the function orroutine related to that icon, e.g. opening a calendar program.

Similarly, the processor apparatus is structured to employ specificdetectors 2061 to support the function of the virtual track ball 2032 inthe second area 2083 of the touch screen display 2055. Thus, actuationsof one or more of the detectors 2061 that support the virtual track ball2032 will be interpreted by the processor apparatus as being inputs fromthe virtual track ball 2032. For instance, an actuation of a sequentialplurality of detectors 2061 extending along a particular direction onthe touch screen display 2055 in the second area 2083 might beinterpreted as a navigational input, a scrolling input, a selectioninput, and/or another input in the particular direction. Since the usercan freely move a finger, for instance, in any direction on the touchscreen display 2055, the virtual track ball 2032 is a multiple-axisinput device. Other inputs, such as a non-moving actuation of one ormore detectors 2061 in the central region of the virtual track ball 2032could be interpreted by the processor apparatus as an actuation input ofthe virtual track ball 2032, such as would be generated by an actuationof the track ball 32 of the handheld electronic device 1004 in adirection toward the housing 1006 thereof. It can be understood thatother types of actuations of the detectors 2061 in the second area 2083can be interpreted as various other inputs without departing from thedisclosed and claimed concept.

The handheld electronic device 2004 thus comprises a multiple-axis inputdevice 2032 that is non-mechanical but that still provides the samefunctional features and advantages as, say, the track ball 32 of thehandheld electronic device 4. It is understood that the virtual trackball 2032 is but one example of the many types of multiple-axis inputdevices that could be employed on the handheld electronic device 2004.

While specific embodiments of the disclosed and claimed concept havebeen described in detail, it will be appreciated by those skilled in theart that various modifications and alternatives to those details couldbe developed in light of the overall teachings of the disclosure.Accordingly, the particular arrangements disclosed are meant to beillustrative only and not limiting as to the scope of the disclosed andclaimed concept which is to be given the full breadth of the claimsappended and any and all equivalents thereof.

1. A method of identifying a proposed spelling correction for a wordthat has been determined to at least potentially be misspelled, themethod comprising: receiving from a data source a series of charactersof a candidate spelling correction; making a determination for eachcharacter of at least a portion of the series that at least one of: thecharacter validly corresponds with a predetermined portion of acanonical version of the word, and the character is, according to atleast one spell check algorithm from among a number of spell checkalgorithms, within a predetermined edit distance from a predeterminedportion of the canonical version of the word; and outputting at least aportion of the candidate spelling correction as a proposed spellingcorrection, wherein the canonical version of the word includes acharacter set having both diacritical and non-diacritical forms of atleast one character.
 2. The method of claim 1, further comprisingdetermining that a particular character of the series is equivalent toan immediately preceding character of the series and, responsivethereto, considering the particular character to validly correspond witha predetermined portion of the canonical version of the word.
 3. Themethod of claim 1 wherein the predetermined edit distance is an editdistance of one, and further comprising determining for at most onecharacter of the series that the character is, according to the spellcheck algorithm, within an edit distance of one from a predeterminedportion of the canonical version of the word.
 4. The method of claim 1wherein the predetermined edit distance is an edit distance of one, andfurther comprising: determining that one character of the series failsto validly correspond with a predetermined portion of the canonicalversion of the word but is, according to another spell check algorithmfrom among the number of spell check algorithms, within an edit distanceof one from a predetermined portion of the canonical version of theword; determining that another character of the series receivedsubsequent to the one character fails to validly correspond with apredetermined portion of the canonical version of the word; anddisregarding the another spell check algorithm as characters in theseries are received subsequent to the another character.
 5. The methodof claim 1, further comprising: generating a data set including, foreach character of a canonicalized form of the word, a character setcomprising the characters that are equivalent thereto, and employing thedata set as the canonical version of the word.
 6. The method of claim 5,further comprising: as at least a portion the making of thedetermination: determining that one of the characters of the seriesfails to validly correspond with a predetermined portion of the dataset, the one of the characters being the first character in the seriesto fail to validly correspond with a predetermined portion of the dataset, and for each spell check algorithm of at least some of the numberof spell check algorithms: determining that the one of the characters iswithin a predetermined edit distance from a predetermined portion of thedata set, and storing a representation of a character set of the dataset as a state of the spell check algorithm; and for each character ofat least some of the characters of the series received subsequent to theone of the characters, determining for each spell check algorithm of atleast some of the number of spell check algorithms that the charactervalidly corresponds with at least one of the characters in the characterset represented by the state of the spell check algorithm andresponsively changing the state of the spell check algorithm to berepresentative of another character set of the data set.
 7. The methodof claim 6, further comprising: determining that a particular characterof the series received subsequent to the one of the characters fails tovalidly correspond with any of the characters in the character setrepresented by the state of at least one spell check algorithm; anddisregarding the at least one spell check algorithm as characters in theseries are received subsequent to the particular character.
 8. Themethod of claim 1, wherein the character of the canonicalized form ofthe word and an alternate character are both assigned to a predeterminedinput member, and further comprising: generating as the character setfor the character of the canonicalized form of the word a character setfurther comprising both diacritical and non-diacritical forms of thealternate character.
 9. The method of claim 8, further comprising:generating as the character set for the character of the canonicalizedform of the word a character set further comprising both upper case andlower case forms of the character and the alternate character.
 10. Themethod of claim 1, further comprising: outputting a proposed spellingcorrection differing from the misspelled word at most by replacements ofcharacters with equivalent characters and resolutions of incorrectnumbers of sequential actuations of particular keys at a position ofpriority with respect to a proposed spelling correction differing fromthe misspelled word by an INSERT, a SWAP, a REPLACE, or a DELETEoperation with respect to a nonequivalent character.
 11. The method ofclaim 1 wherein the data source is a first language dictionary andwherein the first language is an operative language, and furthercomprising: detecting a selection of an alternate language dictionaryand, responsive thereto, changing the operative language to be thealternate language.
 12. A handheld electronic device structured toidentify a proposed spelling correction for a word that has beendetermined to at least potentially be misspelled, the handheldelectronic device comprising: a processor apparatus comprising aprocessor and a memory and having available thereto a data sourcecomprising a plurality of words; an input apparatus structured toprovide input to the processor apparatus, the input apparatus comprisinga plurality of input member, at least some of the input members eachhaving a plurality of characters assigned thereto; an output apparatusstructured to receive output signals from the processor apparatus; thememory having stored therein a number of routines which, when executedon the processor, cause the handheld electronic device to performoperations comprising: receiving from a data source a series ofcharacters of a candidate spelling correction; making a determinationfor each character of at least a portion of the series that at least oneof: the character validly corresponds with a predetermined portion of acanonical version of the word, and the character is, according to atleast one spell check algorithm from among a number of spell checkalgorithms, within a predetermined edit distance from a predeterminedportion of the canonical version of the word; determining for onecharacter of the series that the character is, according to the at leastone spell check algorithm, within an edit distance of one from apredetermined portion of the canonical version of the word; andoutputting at least a portion of the candidate spelling correction as aproposed spelling correction.
 13. The handheld electronic device ofclaim 12 wherein the operations further comprise: determining that aparticular character of the series is equivalent to an immediatelypreceding character of the series, and responsive to the determining,considering the particular character to validly correspond with apredetermined portion of the canonical version of the word.
 14. Thehandheld electronic device of claim 12 wherein the predetermined editdistance is an edit distance of one.
 15. The handheld electronic deviceof claim 12 wherein the predetermined edit distance is an edit distanceof one, and wherein the operations further comprise: determining thatone character of the series fails to validly correspond with apredetermined portion of the canonical version of the word but is,according to another spell check algorithm from among the number ofspell check algorithms, within an edit distance of one from apredetermined portion of the canonical version of the word; determiningthat another character of the series received subsequent to the onecharacter fails to validly correspond with a predetermined portion ofthe canonical version of the word; and disregarding the another spellcheck algorithm as characters in the series are received subsequent tothe another character.
 16. The handheld electronic device of claim 12wherein the operations further comprise: generating a data setcomprising for each character of a canonicalized form of the word acharacter set comprising the characters that are equivalent thereto, andemploying the data set as the canonical version of the word.
 17. Thehandheld electronic device of claim 16 wherein the operations furthercomprise: as at least a portion the making of the determination:determining that one of the characters of the series fails to validlycorrespond with a predetermined portion of the data set, the one of thecharacters being the first character in the series to fail to validlycorrespond with a predetermined portion of the data set, and for eachspell check algorithm of at least some of the number of spell checkalgorithms: determining that the one of the characters is within apredetermined edit distance from a predetermined portion of the dataset, and storing a representation of a character set of the data set asa state of the spell check algorithm; and for each character of at leastsome of the characters of the series received subsequent to the one ofthe characters, determining for each spell check algorithm of at leastsome of the number of spell check algorithms that the character validlycorresponds with at least one of the characters in the character setrepresented by the state of the spell check algorithm and responsivelychanging the state of the spell check algorithm to be representative ofanother character set of the data set.
 18. The handheld electronicdevice of claim 17 wherein the operations further comprise: determiningthat a particular character of the series received subsequent to the oneof the characters fails to validly correspond with any of the charactersin the character set represented by the state of at least one spellcheck algorithm; and disregarding the at least one spell check algorithmas characters in the series are received subsequent to the particularcharacter.
 19. The handheld electronic device of claim 16 wherein theoperations further comprise: generating as the character set for acharacter of the canonicalized form of the word a character setcomprising both diacritical and non-diacritical forms of the character.20. The handheld electronic device of claim 19 wherein the character ofthe canonicalized form of the word and an alternate character are bothassigned to a predetermined input member, and wherein the operationsfurther comprise: generating as the character set for the character ofthe canonicalized form of the word a character set further comprisingboth diacritical and non-diacritical forms of the alternate character.